import React from 'react';
import { Affix } from 'antd';
import './index.css';
class Aside extends React.Component {
  constructor(props) {
    super(props);
    this.state = {};
  }
  render() {
    return (
      <Affix offsetTop={68}>
        <div className='aside'>{this.props.children}</div>
      </Affix>
    );
  }
}
export default Aside;
